﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home/Layouts/Home.Master" AutoEventWireup="true"
    CodeBehind="Contact.aspx.cs" Inherits="Thuoc24h.Home.Pages.Contact" %>

<%@ Register TagPrefix="cc1" Namespace="MSCaptcha" Assembly="MSCaptcha" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadPLH" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPLH" runat="server">
    <h1 class="TopHeader">
        Liên hệ
    </h1>
    <div class="contact">
        <p style="padding: 8px 30px;">
            <div class="notice">
                Quý khách gửi liên hệ. Xin vui lòng điền đầy đủ thông tin theo mẫu dưới đây.</div>
        </p>
        <div class="item">
            <label>
                Họ tên<i>*</i></label><asp:TextBox runat="server" ID="txtName"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Display="Dynamic"
                ErrorMessage="(*)" ForeColor="red" ControlToValidate="txtName"></asp:RequiredFieldValidator>
        </div>
        <div class="item">
            <label>
                Điện thoại</label><asp:TextBox runat="server" ID="txtPhone" MaxLength="20"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Display="Dynamic"
                ErrorMessage="(*)" ForeColor="red" ControlToValidate="txtPhone"></asp:RequiredFieldValidator>
        </div>
        <div class="item">
            <label>
                Email<i>*</i></label><asp:TextBox runat="server" ID="txtEmail"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="Dynamic"
                ErrorMessage="(*)" ForeColor="red" ControlToValidate="txtEmail"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Nhập lại e-mail"
                ForeColor="red" ControlToValidate="txtEmail" Display="Dynamic" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
        </div>
        <div class="item">
            <label>
                Địa chỉ</label><asp:TextBox runat="server" ID="txtAddress"></asp:TextBox>           
        </div>
        <div class="item">
            <label>
                Nội dung<i>*</i></label><asp:TextBox runat="server" ID="txtDetail" TextMode="MultiLine"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" Display="Dynamic"
                ErrorMessage="(*)" ForeColor="red" ControlToValidate="txtDetail"></asp:RequiredFieldValidator>
        </div>
        <div class="item">
            <label class="fleft">
                Nhập mã xác nhận<i>*</i></label>
            <cc1:CaptchaControl ID="CaptchaControl1" runat="server" CssClass="ms-captcha fleft"
                CaptchaBackgroundNoise="Medium" CaptchaLineNoise="Low" />
            <asp:TextBox ID="txtCaptcha" Width="80" runat="server" MaxLength="5" AutoPostBack="False"
                CssClass="txt-captcha fleft" />
            <br class="clear" />
        </div>
        <div class="item" style="text-align: right; padding-right: 250px;">
            <label>
            </label>
            <asp:Button runat="server" ID="btnSend" Text="Gửi liên hệ" CssClass="Button" OnClick="btnSend_OnClick">
            </asp:Button>
        </div>
    </div>
</asp:Content>
